<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>课程详情</title>
    <script src="/lay-excel/jquery-3.2.1.min.js"></script>
    <link rel="stylesheet" href="/lay-excel/layui/src/css/layui.css">
    <script src="/lay-excel/layui/src/layui.js"></script>
    <link rel="stylesheet" href="/teacher/css/TeaCourseView.css">
</head>
<body>
<!-- 选中的课程ID -->
<input id="courseId" type="hidden" name="courseId">
<div class="layui-container">
    <div class="layui-row">
        <form id="form_id">
            <table border="1">
                <tr>
                    <th class="th" colspan="6">查看课程信息</th>
                </tr>
                <tr>
                    <td class="td1">课程名称：</td>
                    <td class="tdhead" colspan="5">
                        <p id="courseName"></p>
                    </td>
                </tr>
                <tr>
                    <td class="td1">上传时间：</td>
                    <td class="tdhead" colspan="2">
                        <p id="createDate"></p>
                    </td>
                    <td class="td1">上传人：</td>
                    <td colspan="2">
                        <p id="createName"></p>
                    </td>
                </tr>
                <tr>
                    <td class="td1">课程售价：</td>
                    <td>
                        <input type="text" class="layui-input" name="courseNprice" readonly= "true" id="courseNprice">
                    </td>
                    <td class="td1">课程关键字：</td>
                    <td>
                        <input type="text" class="layui-input input1" name="coursePrimary" readonly= "true" id="coursePrimary">
                    </td>
                    <td class="td1">课程分类：</td>
                    <td>
                        <input type="text" class="layui-input input1"  name="courseCatory" readonly= "true" id="courseCatory">
                    </td>
                </tr>
                <tr>
                    <td class="td1">点赞量：</td>
                    <td>
                        <input type="text" class="layui-input" name="courseName" readonly= "true" id="likeNum">
                    </td>
                    <td class="td1">收藏量：</td>
                    <td>
                        <input type="text" class="layui-input"  name="createDate" readonly= "true" id="collectNum">
                    </td>
                    <td class="td1">评论量：</td>
                    <td>
                        <input type="text" class="layui-input"  name="commentNum" readonly= "true" id="commentNum">
                    </td>
                </tr>
                <tr>
                    <td class="td1">课程介绍：</td>
                    <td colspan="5">
                        <textarea class="textarea1 layui-textarea" name="courseIntro" readonly= "true" id="courseIntro"></textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="6" class="td2">
                        <span><i class="layui-icon layui-icon-upload"></i>课程封面图</span>
                    </td>
                </tr>
                <tr>
                    <td class="td3">预览图：</td>
                    <td colspan="5" class="td4">
                        <img src="" id="img">
                    </td>
                </tr>
                <tr>
                    <td colspan="6" class="td2">
                        <span><i class="layui-icon layui-icon-upload"></i>课程视频</span>
                    </td>
                </tr>
                <tr>
                    <td class="td3">预览：</td>
                    <td colspan="5" class="td4">
                        <video controls="controls" id="videId"></video>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
<script src="/teacher/js/TeaCourseView.js"></script>
</body>
</html>